package com.bnyy.medicalHousekeeper.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Author : 关炳鹏
 * Description :
 * Date : 2021/12/3
 **/
public class BloodPressDetail implements Serializable {

    @SerializedName("list")
    private ArrayList<BloodPressData> datas;
    private String sdt, edt;


    public String getSdt() {
        return sdt;
    }

    public void setSdt(String sdt) {
        this.sdt = sdt;
    }

    public String getEdt() {
        return edt;
    }

    public void setEdt(String edt) {
        this.edt = edt;
    }

    public ArrayList<BloodPressData> getDatas() {
        return datas;
    }

    public void setDatas(ArrayList<BloodPressData> datas) {
        this.datas = datas;
    }

    /**
     * 血压数据
     */
    public static class BloodPressData implements Serializable {
        String dt;
        Item item;

        public String getDt() {
            return dt;
        }

        public void setDt(String dt) {
            this.dt = dt;
        }

        public Item getItem() {
            return item;
        }

        public void setItem(Item item) {
            this.item = item;
        }

        public static class Item implements Serializable {

            Data high, low;
            Mode mode;
            boolean is_medications;

            public Data getHigh() {
                return high;
            }

            public void setHigh(Data high) {
                this.high = high;
            }

            public Data getLow() {
                return low;
            }

            public void setLow(Data low) {
                this.low = low;
            }

            public Mode getMode() {
                return mode;
            }

            public void setMode(Mode mode) {
                this.mode = mode;
            }

            public boolean isIs_medications() {
                return is_medications;
            }

            public void setIs_medications(boolean is_medications) {
                this.is_medications = is_medications;
            }

            public static class Data implements Serializable {
                int max, min, avg;

                public int getMax() {
                    return max;
                }

                public void setMax(int max) {
                    this.max = max;
                }

                public int getMin() {
                    return min;
                }

                public void setMin(int min) {
                    this.min = min;
                }

                public int getAvg() {
                    return avg;
                }

                public void setAvg(int avg) {
                    this.avg = avg;
                }
            }

            public static class Mode implements Serializable {
                int high_value, low_value;

                public int getHigh_value() {
                    return high_value;
                }

                public void setHigh_value(int high_value) {
                    this.high_value = high_value;
                }

                public int getLow_value() {
                    return low_value;
                }

                public void setLow_value(int low_value) {
                    this.low_value = low_value;
                }
            }
        }
    }

}






















